import Layout from '@/layout'

// 员工的路由模块
export default {
    path: '/employees',
    component: Layout,
    children: [{
        path: '',
        name: 'employees',
        component: () => import('@/views/employees/index'),
        meta: { title: '员工', icon: 'people' }
    },
    {
        path: 'detail/:id',
        name: 'detail',
        hidden: true,
        component: () => import('@/views/employees/detail'),
    },
    // 员工打印页
    {
        path: 'print/:id',
        name:'print',
        hidden: true,
        component: () => import('@/views/employees/print'),
    }
    ]
}